
var variable =require('../../util/variables')

const login = {
    url:'http://10.100.2.36:8086/api/operation/authenticate/account',
    repData:{
        login:"admin",
        password:"wujun27",
        type : "account"
    },
    headers:{
        'content-type': "application/json; charset=utf-8",
        method: 'post',
        timeout:10000,
    },
    assert:{
        containassert: function () {

        },
        dbassert:function (pool,params) {
            let sql = 'select count(*) from where user=?';

        },
    },
    setVars: function (token) {
        variable.set('token',token)
    }
}

module.exports=login
